﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;

namespace VNet.VisiSuite.Service.Contact.Message.ProductionData
{
    [DataContract(Namespace = VisiSuiteNamespace.Uri + "dto/DowntimeGraphDataItem")]
    public class DowntimeGraphDataItem
    {
        [DataMember(IsRequired = true)]
        public string Description { get; set; }

        [DataMember(IsRequired = true)]
        public string Color { get; set; }

        [DataMember(IsRequired = true)]
        public DateTime StartTime { get; set; }

        [DataMember(IsRequired = true)]
        public DateTime? EndTime { get; set; }

        [DataMember(IsRequired = true)]
        public DateTime? DowntimeAckTime { get; set; }

        [DataMember(IsRequired = true)]
        public bool IgnoreInWaitingCalc { get; set; }

    }
}
